<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
    <style>
        div {
            color: red;
        }
        div {
            color: pink;
        }
       body {
        color: red;
        font: 14px\1.5 
       }
       span {
        color: blue;
       }
       .text {
        color: chartreuse!important;
       }
       #demo {
        color:yellow
       }
    </style>
</head>
<body>
    <div>层叠性</div>
    <span>继承性</span>
    <p>红色回忆</p>
    <span class="text" id="demo" style="color: purple;">优先级</span>
</body>
</html>